package com.laopan.wxpay.bean.refund;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author laopan
 * @className PromotionDetail
 * @date 2021/4/15 11:13
 */

public class PromotionDetail {
    /**
     * 券ID
     */
    @SerializedName("promotion_id")
    private String promotionId;
    /**
     * 优惠范围
     * GLOBAL：全场代金券
     * SINGLE：单品优惠
     */
    private String scope;
    /**
     * 优惠类型
     * COUPON：代金券，需要走结算资金的充值型代金券
     * DISCOUNT：优惠券，不走结算资金的免充值型优惠券
     */
    private String type;
    /**
     * 优惠券面额
     */
    private Integer amount;
    /**
     * 优惠退款金额
     */
    @SerializedName("refund_amount")
    private Integer refundAmount;

    @SerializedName("goods_detail")
    private List<RefundGoodsDetail> goodsDetail;

    public String getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(String promotionId) {
        this.promotionId = promotionId;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Integer refundAmount) {
        this.refundAmount = refundAmount;
    }

    public List<RefundGoodsDetail> getGoodsDetail() {
        return goodsDetail;
    }

    public void setGoodsDetail(List<RefundGoodsDetail> goodsDetail) {
        this.goodsDetail = goodsDetail;
    }
}
